package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class Swap {
    public static void main(String[] args) {
//        int i=100;
////        int j=i;
////        i=200;
////        System.out.println("j="+j);
        //老王的学校
        School school=new School();
        school.name="北大青鸟航天桥中心";
        school.labs=99;
        school.rooms=49;
        School li=school;
        school.show();
        li.show();
        System.out.println(">>>>>>>>老王的学校加了几件教室>>>>>>>>");
        school.rooms+=6;
        System.out.println("老王的学校情况：");
        school.show();
        System.out.println("小李的学校情况：");
        li.show();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        System.out.println(li);
        System.out.println(school);
        System.out.println(li==school);
    }
}
